//
//  MoviePlayerView.h
//  Eyes（Stroyboard）
//
//  Created by lanou on 16/3/1.
//  Copyright © 2016年 雨天记忆. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MicroMainModel.h"

@protocol MoviePlayerViewDelegate <NSObject>

- (void)back;

@end

@interface MoviePlayerView : UIView
@property(nonatomic, strong)MicroMainModel *model;
@property(nonatomic, assign)float currentTime;
@property(nonatomic, assign)id<MoviePlayerViewDelegate>delegate;

-(instancetype)initWithFrame:(CGRect)frame URL:(NSURL *)url;

- (void)play;

- (void)pause;

@end
